package com.zuxia.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Orderinfo entity. @author MyEclipse Persistence Tools
 */

public class Orderinfo implements java.io.Serializable {

	// Fields

	private Integer oiid;
	private Cardtypeinfo cardtypeinfo;
	private Servicetypeinfo servicetypeinfo;
	private String oiname;
	private String oisex;
	private Date oitime;
	private String oicardNumber;
	private String oiphone;
	@JSONField(serialize=false)
	private Set maintaininfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Orderinfo() {
	}

	/** minimal constructor */
	public Orderinfo(Cardtypeinfo cardtypeinfo,
			Servicetypeinfo servicetypeinfo, String oiname, String oisex,
			Date oitime, String oicardNumber, String oiphone) {
		this.cardtypeinfo = cardtypeinfo;
		this.servicetypeinfo = servicetypeinfo;
		this.oiname = oiname;
		this.oisex = oisex;
		this.oitime = oitime;
		this.oicardNumber = oicardNumber;
		this.oiphone = oiphone;
	}

	/** full constructor */
	public Orderinfo(Cardtypeinfo cardtypeinfo,
			Servicetypeinfo servicetypeinfo, String oiname, String oisex,
			Date oitime, String oicardNumber, String oiphone, Set maintaininfos) {
		this.cardtypeinfo = cardtypeinfo;
		this.servicetypeinfo = servicetypeinfo;
		this.oiname = oiname;
		this.oisex = oisex;
		this.oitime = oitime;
		this.oicardNumber = oicardNumber;
		this.oiphone = oiphone;
		this.maintaininfos = maintaininfos;
	}

	// Property accessors

	public Integer getOiid() {
		return this.oiid;
	}

	public void setOiid(Integer oiid) {
		this.oiid = oiid;
	}

	public Cardtypeinfo getCardtypeinfo() {
		return this.cardtypeinfo;
	}

	public void setCardtypeinfo(Cardtypeinfo cardtypeinfo) {
		this.cardtypeinfo = cardtypeinfo;
	}

	public Servicetypeinfo getServicetypeinfo() {
		return this.servicetypeinfo;
	}

	public void setServicetypeinfo(Servicetypeinfo servicetypeinfo) {
		this.servicetypeinfo = servicetypeinfo;
	}

	public String getOiname() {
		return this.oiname;
	}

	public void setOiname(String oiname) {
		this.oiname = oiname;
	}

	public String getOisex() {
		return this.oisex;
	}

	public void setOisex(String oisex) {
		this.oisex = oisex;
	}

	public Date getOitime() {
		return this.oitime;
	}

	public void setOitime(Date oitime) {
		this.oitime = oitime;
	}

	public String getOicardNumber() {
		return this.oicardNumber;
	}

	public void setOicardNumber(String oicardNumber) {
		this.oicardNumber = oicardNumber;
	}

	public String getOiphone() {
		return this.oiphone;
	}

	public void setOiphone(String oiphone) {
		this.oiphone = oiphone;
	}

	public Set getMaintaininfos() {
		return this.maintaininfos;
	}

	public void setMaintaininfos(Set maintaininfos) {
		this.maintaininfos = maintaininfos;
	}

}